<?php

$file = fopen('connects.txt', 'a');


$line = '';

$line .= date('j-m-Y H:i')."\t";
$line .= $_SERVER['REMOTE_ADDR']."\t";
$line .= $_SERVER['REMOTE_HOST']."\t";
$line .= $_POST['ip']."\t";
$line .= $_POST['host']."\t";

$line .= "\n";

fputs($file, $line);

fclose($file);


?>